usb-modeswitch
This command sets the USB modeswitch settings. When a USB device is plugged in for the first time, it might perform like a flash storage. The MSBR should make the storage device disappear and changes it to a communications device to work with it under the Cellular interface.
The usb_modeswitch command can send a provided message to the device, to initiate the mode switching. Using the parameters in the “modem-details” command, and the usb-modeswitch sub-menu, it changes the device "default-product-id" to the "modem-product-id" and the “default-vendor id” to “vendor-id”.
Syntax
usb-modeswitch configuration-id [index] usb-modeswitch enable usb-modeswitch message [message text}
| Command | Description | 
|---|---|
| configuration-id | Defines an optional configuration-id to the modeswitch parameters | 
| configuration-id index | Defines the Configuration index. | 
| enable | Enables the USB modeswitch. | 
| message | Defines an optional USB modeswitch message. | 
| message text | Defines the actual USB modeswitch message text. | 
Command Mode
Privileged User
Example
This example enables the USB modeswitch on the following modem-details:
(config-data)# interface cellular 0/0 (conf-cellular)# adv (adv-cell-config)# modem-details vendor-id AAFF (adv-cell-config)# modem-details product-id 12AB (adv-cell-config)# modem-details default-product-id 34BC (adv-cell-config)# usb-modeswitch enable Setting modem details is mandatory before running the command "usb-modeswitch enable": (adv-cell-config)# usb-modeswitch enable Please set all modem details to enable USB modeswitch operation